package dao;

import java.util.List;

import domain.CriteriaSearch;
import domain.Search;


public class SearchDAOJdbcImpl extends DAO<Search> implements SearchDAO{

	public List<Search> getForListWithCriteriaCustomer(CriteriaSearch cc){
		String sql="SELECT singername FROM singers WHERE singername LIKE ? ";
		
		//return getForList(sql,cc.getName()==null ? "%%" : "%" +cc.getName()+"%");
		
		return getForList(sql,cc.getSingername());
		
	}

	
}
